package hsintiao.com.xintiaoAPP.service;

import hsintiao.com.xintiaoAPP.entity.HeartData;
import hsintiao.com.xintiaoAPP.entity.heart.CanShu;
import hsintiao.com.xintiaoAPP.util.AjaxResult;

import java.math.BigDecimal;
import java.util.ArrayList;

public interface HeartDataService {

    AjaxResult saveHeartData(ArrayList<String> data, Long userID);//保存心电数据

    void saveCanShu(float t_h, float[] x, float[] y, Long userID,Long size);

    CanShu getCanShuforid(Long id);

    void InifDataCanShu(Long id);

    Integer getStartNum(Long size,Long userID);

    AjaxResult getFilterData(Long size, Long userID, ArrayList<String> arrayList, Object[] strs);

    AjaxResult getProfessionalReport(ArrayList<String> arrayList, Long userID);

    AjaxResult getRanData();
    AjaxResult getHeartDataForLlist();
    AjaxResult getHeartDataForLID(Long dataID,int a);

    AjaxResult getListRateForUser(Long[] ids);
}
